/**
 * ActiveGossipThreadInterface.java
 * ************************** 
 * @date Apr 6, 2011
 * @author Michele Tamburini
 * 
 * **************************
 */
package gossipServices.gossipThread;

/**
 * Description: 
 * Interface specific to active threads of a gossip
 * protocol schema. 
 * All classes implementing this interface expose the 
 * activeThreadIntructions() that contains all the 
 * instructions need by the active part of the gossip
 * algorithm.
 * 
 * This interface is supposed to substitute the 
 * ActiveGossipThread class in case the building
 * class is just extending a different one.
 *
 */
public interface ActiveGossipThreadInterface 
	extends Runnable, GossipThreadInterface, GossipThreadsInstructions {
	
	/**
	 * Contains all instructions need by the active thread of 
	 * the gossip protocol.
	 * @throws InterruptedException
	 */
	public void activeThreadInstructions() throws InterruptedException;
}
